package interfaces;

import java.sql.SQLException;
import java.util.ArrayList;
import model.Family;

public interface IFamily {
  public boolean create(Family family) throws SQLException, ClassNotFoundException;
  public boolean update(Family family) throws SQLException, ClassNotFoundException;
  public boolean delete(Family family) throws SQLException, ClassNotFoundException;
  public ArrayList<Family> retrieveByName(String name) throws SQLException, ClassNotFoundException;
  public ArrayList<Family> retrieveAll() throws SQLException, ClassNotFoundException;
}
